<!--
 * @Author: your name
 * @Date: 2021-09-13 11:29:52
 * @LastEditTime: 2021-09-24 16:52:31
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \ant-design-vue-jeecge:\hjimi\人脸辨识云\html\gitlab\pc\facecloudwebsite\src\components\Hamburger\index.vue
-->
<template>
  <div style="padding: 0 15px;" @click="toggleClick">
    <img src="../../assets/image/slideBar-btn.png">
  </div>
</template>

<script>
export default {
  name: 'Hamburger',
  props: {
    isActive: {
      type: Boolean,
      default: false
    }
  },
  methods: {
    toggleClick() {
      this.$emit('toggleClick')
    }
  }
}
</script>
<style scoped>
.hamburger {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}
.hamburger.is-active {
  transform: rotate(180deg);
}
</style>
